Optimal. Leaf size=59 \[ \frac {x \left (a+b x^n\right )^p \left (\frac {b x^n}{a}+1\right )^{-p} F_1\left (\frac {1}{n};-p,2;1+\frac {1}{n};-\frac {b x^n}{a},-\frac {d x^n}{c}\right )}{c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.03, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.105, Rules used = {430, 429} \[ \frac {x \left (a+b x^n\right )^p \left (\frac {b x^n}{a}+1\right )^{-p} F_1\left (\frac {1}{n};-p,2;1+\frac {1}{n};-\frac {b x^n}{a},-\frac {d x^n}{c}\right )}{c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 429
Rule 430
Rubi steps
\begin {align*} \int \frac {\left (a+b x^n\right )^p}{\left (c+d x^n\right )^2} \, dx &=\left (\left (a+b x^n\right )^p \left (1+\frac {b x^n}{a}\right )^{-p}\right ) \int \frac {\left (1+\frac {b x^n}{a}\right )^p}{\left (c+d x^n\right )^2} \, dx\\ &=\frac {x \left (a+b x^n\right )^p \left (1+\frac {b x^n}{a}\right )^{-p} F_1\left (\frac {1}{n};-p,2;1+\frac {1}{n};-\frac {b x^n}{a},-\frac {d x^n}{c}\right )}{c^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [B] time = 0.34, size = 180, normalized size = 3.05 \[ \frac {a c (n+1) x \left (a+b x^n\right )^p F_1\left (\frac {1}{n};-p,2;1+\frac {1}{n};-\frac {b x^n}{a},-\frac {d x^n}{c}\right )}{\left (c+d x^n\right )^2 \left (b c n p x^n F_1\left (1+\frac {1}{n};1-p,2;2+\frac {1}{n};-\frac {b x^n}{a},-\frac {d x^n}{c}\right )-2 a d n x^n F_1\left (1+\frac {1}{n};-p,3;2+\frac {1}{n};-\frac {b x^n}{a},-\frac {d x^n}{c}\right )+a c (n+1) F_1\left (\frac {1}{n};-p,2;1+\frac {1}{n};-\frac {b x^n}{a},-\frac {d x^n}{c}\right )\right )} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.90, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (b x^{n} + a\right )}^{p}}{d^{2} x^{2 \, n} + 2 \, c d x^{n} + c^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b x^{n} + a\right )}^{p}}{{\left (d x^{n} + c\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.90, size = 0, normalized size = 0.00 \[ \int \frac {\left (b \,x^{n}+a \right )^{p}}{\left (d \,x^{n}+c \right )^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b x^{n} + a\right )}^{p}}{{\left (d x^{n} + c\right )}^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\left (a+b\,x^n\right )}^p}{{\left (c+d\,x^n\right )}^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: HeuristicGCDFailed} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________